import request from '@/utils/request'
//查询方法

// const baseUrl=''
// const urlCommon = {
//   queryApi: {
//       url: baseUrl + '/exam/gm-money-rule/findByPage',
//       method: 'post'
//   }
// }
// export default urlCommon

//比赛项目查询
export function queryApi(data) {
  return request({
    url: '/exam/gm-money-rule/findByPage',
    method: 'post',
    data: data
  })
}
//上传
export function fileUpload(data) {
  return request({
    url: '/exam/gm-dan-grading/uploadDanGradingImage',
    method: 'filepost',
    data: data
  })
}

export function fileUploadvideo(data) {
  return request({
    url: '/exam/file/uploadFile',
    method: 'filepost',
    data:data
  })
}